package com.kede.app.service.dto;

import com.kede.annotation.Query;
import com.kede.app.converenum.GoodStatusEnumConver;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
* @author Pr.li
* @date 2023-05-23
**/
@Data
public class LeescoreGoodsQueryCriteria{

    /** 商品库存 */
    @Query(type = Query.Type.BETWEEN)
    private List<Integer> stock;

    /** 商品标题 */
    @Query(type = Query.Type.INNER_LIKE)
    private String name;

    /** 所需积分 */
    @Query(type = Query.Type.BETWEEN)
    private List<BigDecimal> scoreprice;

    /** 商品状态:0=删除,1=仓库,2=上架 */
    @Query(type = Query.Type.EQUAL)
    private GoodStatusEnumConver status;

    @Query(type = Query.Type.EQUAL)
    private Integer categoryId;

    @Query(type = Query.Type.EQUAL)
    private Integer showTag;

    @Query(type = Query.Type.EQUAL)
    private Integer adcode;

}